package interfaces;

public abstract class RemoteTV implements IRemoteControl {
	
	protected int nChannel = 0;
	protected boolean bPower = false;
	
	public void powerOn() {
		bPower = true;
		System.out.println("TV 전원 on!");
	}
	
	public void powerOff() {
		bPower = false;
		System.out.println("TV 전원 off!");
	}
	
	public void channelUp() {
		nChannel++;
		System.out.println("TV 채널 up! 현재채널: " + nChannel);
	}
	
//	public abstract void channelDown();를
//	IRemoteControl로 부터 상속받아 가지고 있음
	
}
